package com.bwie.controller;

import com.bwie.service.TbMealService;
import com.bwie.utils.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : Yoo19
 * @description :
 * @createDate : 2025/7/15 11:53 53
 */
@RestController
@RequestMapping("/user/meal")
public class MealController {
    @Autowired
    private TbMealService tbMealService;

    @ApiOperation("套餐列表")
    @PostMapping("/getMealList")
    public R getMealList(){
        return tbMealService.getMealList();
    }

}
